<%@page pageEncoding="UTF-8" %>

<link href="css/apps/newscatalog/start.css" type="text/css" rel="stylesheet" />
<script src="scripts/apps/newscatalog/start.js" type="text/javascript"></script>


<form id="NewsCatalogForm">
<input type="hidden" name="bean.parentId" id="parentId" />
<fieldset>
<legend>添加分类</legend>
<div id="wrap" style="width: 100%; height: 450px; margin-top: 0px;">
		<div id="tree-pannel" style="float: left; width: 300px; height: 400px">
			<ul id="resTree" class="ztree"></ul>
		</div>
		<div
			style="float: left; width: 290px; height: 400px; border: #09F 1px solid">
			<table style="width: 100%; border: #eee 1px solid">
				<tbody>
					<tr>
						<td>所属类别</td>
						<td><label id="cname">未选择</label></td>
					</tr>
					<tr>
					    <td>名称</td>
					    <td><input id="name" name="bean.name" value="" /></td>
					</tr>
					<tr>
					    <td>外连</td>
					    <td>
					     <input type="checkbox" id="externalcheck" name="bean.external" value="true" />
					    </td>
					</tr>
					<tr>
					  <td></td>
					  <td> <textarea id="beanhref" name="bean.href" disabled="true"></textarea></td>
					</tr>
					<tr>
						<td>简介</td>
						<td><textarea id="description" name="bean.description"></textarea></td>
					</tr>
				</tbody>
			</table>

		</div>
		<div
			style="width: 100%; background-color: #ccc; float: left; height: 30px">
			<button id="saveBtn" type="button">保存</button>
			<button type="reset">重置</button>
			
			<button type="button" id="listBtn">返回列表</button>
		</div>
		<div style="clear: both; background: #EEE"></div>
	</div>
</fieldset>
</form>